package com.web.model.abst;

/**
 * @author Kenneth
 * @version 1.0Beta
 * @createDate 2011-07-15 11:59:28
 */
public abstract class AbstractNews {

	// table-name
	public static final String TABLE_NAME = "TW_NEWS";

	// table-columns
	public static final String COLUMN_ID = "ID";

	public static final String COLUMN_TITLE = "TITLE";

	public static final String COLUMN_DTITLE = "DTITLE";

	public static final String COLUMN_ADDTIME = "ADDTIME";

	public static final String COLUMN_KEYWORD = "KEYWORD";

	public static final String COLUMN_CLASSID = "CLASSID";

	public static final String COLUMN_CONTENT_HTML = "CONTENT_HTML";

	public static final String COLUMN_CONTENT_TEXT = "CONTENT_TEXT";

	public static final String COLUMN_AUTHOR_ID = "AUTHOR_ID";

	public static final String COLUMN_CREATE_TIME = "CREATE_TIME";

	public static final String COLUMN_FROM_NAME = "FROM_NAME";

	public static final String COLUMN_FROM_URL = "FROM_URL";

	public static final String COLUMN_BROWSE = "BROWSE";

	public static final String COLUMN_RECOM = "RECOM";

	public static final String COLUMN_TOP_STATE = "TOP_STATE";

	public static final String COLUMN_STATE = "STATE";

	public static final String COLUMN_SORTNO = "SORTNO";

	// model-object propertys
	private java.lang.Integer id;

	private java.lang.String title;

	private java.lang.String dtitle;

	private java.sql.Timestamp addtime;

	private java.lang.String keyword;

	private java.lang.Integer classid;

	private java.sql.Clob contentHtml;

	private java.sql.Clob contentText;

	private java.lang.Integer authorId;

	private java.sql.Timestamp createTime;

	private java.lang.String fromName;

	private java.lang.String fromUrl;

	private java.lang.Integer browse;

	private java.lang.Integer recom;

	private java.lang.Integer topState;

	private java.lang.Integer state;

	private java.lang.Integer sortno;

	public AbstractNews() {
	}

	public java.lang.Integer getId() {
		return id;
	}

	// propertys-(getter and setter)
	public void setId(java.lang.Integer id) {
		this.id = id;
	}

	public java.lang.String getTitle() {
		return title;
	}

	public void setTitle(java.lang.String title) {
		this.title = title;
	}

	public java.lang.String getDtitle() {
		return dtitle;
	}

	public void setDtitle(java.lang.String dtitle) {
		this.dtitle = dtitle;
	}

	public java.sql.Timestamp getAddtime() {
		return addtime;
	}

	public void setAddtime(java.sql.Timestamp addtime) {
		this.addtime = addtime;
	}

	public java.lang.String getKeyword() {
		return keyword;
	}

	public void setKeyword(java.lang.String keyword) {
		this.keyword = keyword;
	}

	public java.lang.Integer getClassid() {
		return classid;
	}

	public void setClassid(java.lang.Integer classid) {
		this.classid = classid;
	}

	public java.sql.Clob getContentHtml() {
		return contentHtml;
	}

	public void setContentHtml(java.sql.Clob contentHtml) {
		this.contentHtml = contentHtml;
	}

	public java.sql.Clob getContentText() {
		return contentText;
	}

	public void setContentText(java.sql.Clob contentText) {
		this.contentText = contentText;
	}

	public java.lang.Integer getAuthorId() {
		return authorId;
	}

	public void setAuthorId(java.lang.Integer authorId) {
		this.authorId = authorId;
	}

	public java.sql.Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(java.sql.Timestamp createTime) {
		this.createTime = createTime;
	}

	public java.lang.String getFromName() {
		return fromName;
	}

	public void setFromName(java.lang.String fromName) {
		this.fromName = fromName;
	}

	public java.lang.String getFromUrl() {
		return fromUrl;
	}

	public void setFromUrl(java.lang.String fromUrl) {
		this.fromUrl = fromUrl;
	}

	public java.lang.Integer getBrowse() {
		return browse;
	}

	public void setBrowse(java.lang.Integer browse) {
		this.browse = browse;
	}

	public java.lang.Integer getRecom() {
		return recom;
	}

	public void setRecom(java.lang.Integer recom) {
		this.recom = recom;
	}

	public java.lang.Integer getTopState() {
		return topState;
	}

	public void setTopState(java.lang.Integer topState) {
		this.topState = topState;
	}

	public java.lang.Integer getState() {
		return state;
	}

	public void setState(java.lang.Integer state) {
		this.state = state;
	}

	public java.lang.Integer getSortno() {
		return sortno;
	}

	public void setSortno(java.lang.Integer sortno) {
		this.sortno = sortno;
	}

}
